<?php if($data){ ?>
<div id="sanpham_right">
           	    <div id="title_right">
            		<p id="title_right_left"></p>
            		<div id="title_right_center">
            		  <p class="chu_title"> THÊM LOẠI HÀNG</p>
            		</div>
           			<p id="title_right_right"></p>
             	</div>
                <div id="noidung_right">
                <!-- gio hang -->
                	<form name="update" action="" method="post" >
                            	<table width="570" cellspacing="5" cellpadding="5" border="1" class="table_cart">
                                   <tr>
		<td valign = "top" align="center" >Chủng loại</td>
		<td valign = "top" align="center">
			<select name = "cmb_choice">
				<option value = "-1"> ---Chọn---</option>
				<?php 
				if(is_array($data['list'])){
					foreach ($data['list'] as $item){
				?>
						<option value = "<?php echo $item['MaCL'];?>"> <?php echo $item['TenCL'];?></option>
				<?php 
					}
				}
				?>
		</select>
		</td>
	</tr>
<tr>
		<td valign = "top" align="center">Tên loại hàng</td>
		<td valign = "top" align="center"> <input name = "tenlh" type = "text" value = "" id="input"/> </td>
	</tr>
	<tr>
		<td valign = "top"  align="center">
         <input name = "bt_ok" type = "submit" value = "Thêm"/>
         </td>
         <td align="center">
           <input name = "bt_reset" type = "reset" value = "Nhập lại"/> </td>
	</tr>
		</table>
                  
                           
					</form>
                    <!-- end -->
                </div>
           </div>
           <?php }?>